﻿namespace Ficharts.Net
{
    using System.ComponentModel;

    [TypeConverter(typeof(ExpandableObjectConverter))]
    public class ChartTitlePropertySet : PropertySetBase
    {
        public ChartTitlePropertySet()
        {
            title = null;
            subTitle = null;
        }

        [GraphElement]
        private string title;

        [GraphElement]
        private string subTitle;

        /// <summary>
        /// 主标题
        /// </summary>
        public string Title
        {
            get
            {
                return title;
            }
            set
            {
                title = value;
            }
        }

        /// <summary>
        /// 副标题
        /// </summary>
        public string SubTitle
        {
            get
            {
                return subTitle;
            }
            set
            {
                subTitle = value;
            }
        }
    }
}
